const express = require('express');
const router = express.Router();

router.get('/', (req, res) => {
    const content = [];
    for(let i = 0; i < 160; i++) content.push({
        id: `${i + 1}`,
        brandCode: 'string',
        brandName: 'string',
        sourceCurrency: 1,
        targetCurrency: 1,
        rate: 'string',
        beginDateTime: '2019-09-19T02:14:30.723Z',
        endDateTime: '2019-09-19T02:14:30.723Z',
        status: 1,
        rowVersion: 'string',
    });
    res.json({
        message: '',
        payload: {
            content,
            totalElements: 40,
        }
    });
});
module.exports = router;
